﻿

namespace Admin.NET.Core.Btms;
[Tenant("Btms2")]   //"ConfigId"一致
[SugarTable("InvOtherOutStorageMaster", "血库2协议医院出库主表")]
public class InvOtherOutStorageMaster
{
    // 单据编号
    [SugarColumn(ColumnName = "BillNo", ColumnDescription = "主键BillNo", IsPrimaryKey = true, IsIdentity = false)]
    public string BillNo { get; set; }
    // 手工单号
    public string ManualNo { get; set; } = "";
    // 单据类型
    public string BillType { get; set; } = "";
    // 单据状态
    public int BillStatus { get; set; }
    // 审核用户ID
    public long? AuditUserId { get; set; }
    // 审核时间
    public DateTime? AuditTime { get; set; }
    // 审核信息
    public string AuditInfo { get; set; } = "";
    // 备注
    public string Remark { get; set; } = "";
    // 创建时间，默认当前时间
    public DateTime? CreationTime { get; set; }
    // 创建用户ID
    public long? CreatorUserId { get; set; }
    // 最后修改时间
    public DateTime? LastModificationTime { get; set; }
    // 最后修改用户ID
    public long? LastModifierUserId { get; set; }
    // 来源
    public string Source { get; set; } = "";
    // 来源单据编号
    public string SourceBillNo { get; set; } = "";
    // 血液来源ID
    public int? BasBloodSourceId { get; set; }
    // 原因
    public string Cause { get; set; } = "";
    // 出库状态
    public int? OutStatus { get; set; }
    // 方式
    public int? Way { get; set; }
    // 报废方式
    public int? scrapMethod { get; set; }
    // 出库类型
    public string? ProtOutStorageType { get; set; }
}